<?php


namespace BoojasrFramework\ServicesContainer\EventSubscriber;


use BoojasrFramework\ServicesContainer\Event\GetResponseEvent;
use BoojasrFramework\ServicesContainer\EventDispatcher\EventSubscriberInterface;
use BoojasrFramework\ServicesContainer\KernelEvents;

class HttpRequestListener implements EventSubscriberInterface
{

    /**
     * @param GetResponseEvent $event
     */
    public function onKernelRequest($event){
        $request = $event->getRequest();
    }


    /**
     * @inheritDoc
     */
    public static function getSubscribedEvents()
    {
        return [
            KernelEvents::REQUEST => ["onKernelRequest"],
        ];
    }
}
